package com.ssm.service;

import com.ssm.base.BaseService;
import com.ssm.entity.Admin;

import java.util.List;

/**
 * @Author jie_ge
 * @Date 2022/4/15
 */
public interface AdminService extends BaseService<Admin> {
    /**
     * 查询所有admin
     * @return
     */
    List<Admin> findAll();

    /**
     * 获取用户名称
     * @param username
     * @return
     */
    Admin getByUsername(String username);
}
